package homework.oo2.AnimalExercise02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog d1 = new Dog("大黄",1,"黄色");
        d1.eat();
        d1.drink();
        d1.lookHome();

        System.out.println("==================");
        Dog d2 = new Dog("大白",2,"白色");
        d2.eat();
        d2.drink();
        d2.lookHome();

        System.out.println("==================");
        Dog d3 = new Dog("大紫",3,"紫色");
        d3.eat();
        d3.drink();
        d3.lookHome();

        System.out.println("==================");
        Chick c1 = new Chick("大粉",4,"粉色");
        c1.eat();
        c1.drink();
        c1.layEggs();

        System.out.println("==================");
        Chick c2 = new Chick("绿绿",5,"绿色");
        c2.eat();
        c2.drink();
        c2.layEggs();

        System.out.println("==================");
        Chick c3 = new Chick("金金",8,"金色");
        c3.eat();
        c3.drink();
        c3.layEggs();

        System.out.println("==================");
        Fish f1 = new Fish("红红",9,"红色");
        f1.eat();
        f1.drink();

        System.out.println("==================");
        Fish f2 = new Fish("蓝蓝",7,"蓝色");
        f2.eat();
        f2.drink();

    }
}
